﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace slTestingStreaming
{
    
    public class Tweet
    {
        public string in_reply_to_screen_name { get; set; }

        public Tweeter user { get; set; }

        public string text { get; set; }

        public Int64? in_reply_to_user_id { get; set; }

        public bool truncated { get; set; }

        public Int64? id { get; set; }

        public bool favorited { get; set; }

        public string source { get; set; }

        //"Mon Mar 09 10:11:08 +0000 2009",
        public string created_at { get; set; }

        public Geo geo { get; set; }
    }

    public class LongUrl
    {
        public string part1 { get; set; }
        public string part2 { get; set; }
    }

    public class TweetGeo
    {
        public string in_reply_to_screen_name { get; set; }

        public Tweeter user { get; set; }

        public string text { get; set; }

        public Int64? in_reply_to_user_id { get; set; }

        public bool truncated { get; set; }

        public Int64? id { get; set; }

        public bool favorited { get; set; }

        public string source { get; set; }

        //"Mon Mar 09 10:11:08 +0000 2009",
        public string created_at { get; set; }

        public decimal lat { get; set; }

        public decimal lon { get; set; }

        public Geo geo { get; set; }
    }


    public class Tweeters
    {
        public List<Tweeter> users { get; set; }
        public Int64? next_cursor { get; set; }
        public Int64? previous_cursor { get; set; }
    }

    public class Tweeter
    {
        public string description { get; set; }
        public string url { get; set; }
        public string name { get; set; }
        public string screen_name { get; set; }
        public string location { get; set; }
        public Int64? id { get; set; }
        public bool geo_enabled { get; set; }
        public bool verified { get; set; }
        public string profile_text_color {get;set;}
        public string profile_background_image_url { get; set; }
        public string profile_link_color { get; set; }
        public string profile_image_url { get; set; }
        public bool following { get; set; }
        public bool profile_background_tile { get; set; }
        public int statuses_count { get; set; }
        public string profile_background_color { get; set; }
        public Int64? followers_count { get; set; }
        public string profile_sidebar_fill_color { get; set; }
        public Int64? friends_count { get; set; }
        public string time_zone { get; set; }
        public string profile_sidebar_border_color { get; set; }
        public bool notifications { get; set; }
        public Int64? utc_offset { get; set; }
        public Int64? favourites_count { get; set; }
        public string created_at { get; set; }
        public TweeterStatus status { get; set; }

        public bool isfriend { get; set; }
        public bool ischecked { get; set; }

    }

    public class TweeterStatus
    {
        public string in_reply_to_screen_name { get; set; }
        public string text { get; set; }
        public Int64? in_reply_to_user_id { get; set; }
        public Int64? in_reply_to_status_id { get; set; }
        public bool truncated { get; set; }
        public Int64? id { get; set; }
        public bool favorited { get; set; }
        public string source { get; set; }
        //"Mon Mar 09 10:11:08 +0000 2009",
        public string created_at { get; set; }

    }


    public class Geo
    {
        public string point { get; set; }

        public string type { get; set; }

        public string[] coordinates { get; set; }

    }

    public class SearchResult
    {
        public List<SearchResultEntry> results;
    }

    public class SearchResultEntry
    {
        public string text { get; set; }

        public string from_user { get; set; }

        public Int64? id { get; set; }
    }
}
